import url from '@/tool/index.js'
export const login = (account,password) => { //
	return new Promise(resolve => {
		uni.request({
			url: url+'/api/coachcenter.login/index',
			data: {
				account:account,
				password:password
			},
			method: 'GET',
			success: (res) => resolve(res.data),
		});
	})
}

